export default [
  {
    path: "/users",
    name: "users",
    title: "用户管理",
    component: () => import("../../layout/index.vue"),
    icon: "Menu",
    sort: 1,
    meta: {
      name: "用户管理",
      menuId: "system:user",
    },
    children: [
      {
        path: "/authForm",
        name: "authForm",
        title: "认证审核",
        icon: "Menu",
        component: () => import("../../views/users/authForm/index.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "认证审核",
          menuId: "system:user-auth",
        },
      },
      {
        path: "/staffForm",
        name: "staffForm",
        title: "成员管理",
        icon: "Menu",
        component: () => import("../../views/users/staffForm/index.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "成员管理",
          menuId: "system:user",
        },
      },
      {
        path: "/roleForm",
        name: "roleForm",
        title: "角色管理",
        icon: "Menu",
        component: () => import("../../views/users/roleForm/index.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "角色管理",
          menuId: "system:role",
        },
      },
      {
        path: "/pwdForm",
        name: "pwdForm",
        title: "密码管理",
        icon: "Menu",
        component: () => import("../../views/users/pwdForm/index.vue"),
        meta: {
          requiresAuth: true, //有一些页面是否登录才能进去
          name: "密码管理",
          menuId: "system:pwd",
        },
      },
    ],
  },
];
